package com.decade.global;

import org.springframework.web.bind.annotation.ControllerAdvice;

public class GlobalExcelption extends Exception{
    private Integer code;
    private String  message;

    public GlobalExcelption() {

    }

    public GlobalExcelption(String message, Integer code) {
        super(message);
        this.code = code;
        this.message = message;
    }
}
